$(document).ready(function(){
    var docWidth = $('body').width(),
        $showwrap = $('.show-wrap'),
        $images = $('.show-wrap .hb'),
        slidesWidth = $showwrap.width();
    
    $(window).on('resize', function(){
      docWidth = $('body').width();
      slidesWidth = $showwrap.width();
    })
    
    $(document).mousemove(function(e) {
      var mouseX = e.pageX,
          offset = mouseX / docWidth * slidesWidth - mouseX / 2;
      
      $images.css({
           'transform': 'translate3d(' + -offset + 'px,0,0)'
      });
    });
  })